package com.server.response;

import java.util.List;

import com.server.object.PlayerData;
import com.server.protocols.SProtocols;
import com.webserver.server.net.BaseMessage;

public class MatchRoomResp extends BaseMessage{
	//-2:请重新登陆  -1:加入房间失败   1:成功
	public int state;
	//房间id
	public String room_id;
	//玩家列表
	public List<PlayerData> player_list;
	//房主id
	public long master;
	public MatchRoomResp(int state, String room_id, List<PlayerData> player_list, long master) {
		this.state = state;
		this.room_id = room_id;
		this.player_list = player_list;
		this.master = master;
	}
	
	@Override
	public int GetProtocol() {
		return SProtocols.MATCH_ROOM;
	}
}
